#!coding=utf-8
import time
from concurrent.futures import ThreadPoolExecutor
from print_s import print_safe as print

def action(second):
    time.sleep(second)
    return second

lists=[5,1,2,3]
with ThreadPoolExecutor(max_workers=2) as pool:
    for result in pool.map(action, lists):
        print(f"{result} 返回")
